package com.xiaosu.red_travel.mapper;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tab_route")
public class Route {
    @TableId
    private Integer id;
    private String name;
    private Double price;

    /** 景点详情*/
    private String details;

    /** 景点简介*/
    private String introduction;

    /** 景点区域*/
    private String region;

    /** 景点特色*/
    private String characteristic;

    /** 点赞数量*/
    @TableField("fabulous_count")
    private String fabulousCount;

    /** 评论数量*/
    @TableField("amount_count")
    private String amountCount;

    /** 景点地址*/
    private String address;

    /** 景点图片*/
    @TableField(exist = false)
    private List<String> routeImg;

}
